IMPALA_CATALOG_SERVICE_HOST={{impala_catalog_host}}
IMPALA_STATE_STORE_HOST={{impala_state_store_host}}
IMPALA_STATE_STORE_PORT=24000
IMPALA_BACKEND_PORT=22000
IMPALA_LOG_DIR={{impala_log_dir}}
IMPALA_SCRATCH_DIR={{impala_scratch_dir}}
MEM_LIMIT={{mem_limit}}

IMPALA_CATALOG_ARGS=" \
    -log_dir=${IMPALA_LOG_DIR} \
    -state_store_host=${IMPALA_STATE_STORE_HOST} \
        {% if security_enabled %}
    -kerberos_reinit_interval=60 \
    -principal=impala/{{current_host_name}}@{{realm_name}} \
    -keytab_file=/etc/security/keytabs/impala.service.keytab \
        {% endif %}
	"
IMPALA_STATE_STORE_ARGS=" \
    -log_dir=${IMPALA_LOG_DIR} \
    -state_store_port=${IMPALA_STATE_STORE_PORT} \
	{% if security_enabled %}
    -kerberos_reinit_interval=60 \
    -principal=impala/{{current_host_name}}@{{realm_name}} \
    -keytab_file=/etc/security/keytabs/impala.service.keytab \
	{% endif %}
	"
IMPALA_SERVER_ARGS=" \
    -log_dir=${IMPALA_LOG_DIR} \
	--scratch_dirs=${IMPALA_SCRATCH_DIR} \
	-mem_limit=${MEM_LIMIT} \
    -catalog_service_host=${IMPALA_CATALOG_SERVICE_HOST} \
    -state_store_port=${IMPALA_STATE_STORE_PORT} \
    -use_statestore \
    -state_store_host=${IMPALA_STATE_STORE_HOST} \
    -be_port=${IMPALA_BACKEND_PORT} \
	{% if security_enabled %}
    -kerberos_reinit_interval=60 \
    -principal=impala/{{current_host_name}}@{{realm_name}} \
    -keytab_file=/etc/security/keytabs/impala.service.keytab \
	{% endif %}
	"

ENABLE_CORE_DUMPS=true

LIBHDFS_OPTS=-Djava.library.path=/usr/lib/impala/lib
# MYSQL_CONNECTOR_JAR=/usr/share/java/mysql-connector-java.jar
# IMPALA_BIN=/usr/lib/impala/sbin
# IMPALA_HOME=/usr/lib/impala
# HIVE_HOME=/usr/lib/hive
# HBASE_HOME=/usr/lib/hbase
# IMPALA_CONF_DIR=/etc/impala/conf
# HADOOP_CONF_DIR=/etc/impala/conf
# HIVE_CONF_DIR=/etc/impala/conf
# HBASE_CONF_DIR=/etc/impala/conf
